package com.artwork.service;

import com.artwork.model.Goods;

import java.util.List;

/**
 * @Author JoJo
 * @Data 2021/9/9$ 14:11$
 * @Description
 * @Param $
 * @Return $
 */
public interface GoodsService {

    List<Goods> getList();

    List<Goods> getListByType(int type);

    List<Goods> getListByParams(Goods goods);

    List<Goods> getUserList(int sellerId);

    int addGoos(Goods goods);

    Goods getGoodsById(Integer id);

    int updateGoods(Goods goods);

    int pushGoods(int id, int status);

    int deleteGoods(int id);
}
